Skip to content

refactor: rework textarea layout to inline-flex and refresh field-textarea stories#701

Open
isaquebock wants to merge 5 commits into
devfrom
refactor/textarea-adjusts
Open

refactor: rework textarea layout to inline-flex and refresh field-textarea stories#701
isaquebock wants to merge 5 commits into
devfrom
refactor/textarea-adjusts

Conversation

@isaquebock

Copy link
Copy Markdown
Contributor

Summary

  • Refactor textarea.vue from absolute-positioned icon slots to an inline-flex row, so left/right icons share spacing tokens with the textarea control and data-* attributes on the root wrapper drive disabled/required/invalid styles.
  • Filter class and data-testid out of the textarea passthrough attrs to avoid duplicating them on the inner element.
  • Refresh FieldTextarea stories: args-driven Template, add Default and Disabled stories, replace the synthetic Required story with a submit-driven async demo, and rewrite the docs description block.

Notes

  • No public API change — props, events, and slots are preserved.
  • Implied version bump: patch.
  • Issue: NO-ISSUE.

…tarea stories

Replace absolute-positioned icon slots with an inline-flex row in
textarea.vue so left/right icons share spacing tokens with the textarea
control and disabled/required/invalid state styles read off data-* on the
root wrapper. Filter class and data-testid out of the textarea
passthrough attrs to avoid duplicating them on the inner element.

Update FieldTextarea stories to use args-driven Template, add Default
and Disabled stories, replace the synthetic Required story with a
submit-driven async demo, and rewrite the docs description block.
@isaquebock isaquebock requested a review from a team as a code owner June 30, 2026 20:08

@robsongajunior robsongajunior left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • textarea should be rezisable with the 4 default browser params (both, vertical, horizontal, none)
  • wrong padding causing visual error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants